package it.unito.di.javarole;

public interface ObjectWithRoles {
    public void setRole(Object role, Object inst);
    public void setRole(Object role, Object rel,Object inst);
    public Object getRole(Object inst, String roleName) throws NullRoleException;
    public Object getRole(Object inst, Object rel, String roleName) throws NullRoleException;
    public void removeRole(Object role, Object inst);
}

